package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.R;
import com.itheima.entity.User;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface UserService extends IService<User> {
    public R<String> sendMsg(User user, HttpServletRequest request);

    /**
     * 登陆
     * @param map
     * @param request
     * @return
     */
    public R<User> login(Map map, HttpServletRequest request);
}
